package com.demo.shiyan3.service;


import com.demo.shiyan3.model.domain.Article;
import com.github.pagehelper.PageInfo;

import java.util.List;



public interface IArticleService {
    // 分页查询文章列表,第一页page=1
    public PageInfo<Article> selectArticleWithPage(Integer page, Integer count);
    //Article selectArticleWithId(int id);
    // 统计前10的热度文章信息
    public List<Article> getHeatArticles();

    Article selectArticleWithId(int id);
}